/********************************************************************************
** Form generated from reading UI file 'modelSoft.ui'
**
** Created by: Qt User Interface Compiler version 6.8.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_MODELSOFT_H
#define UI_MODELSOFT_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QToolBar>
#include <QtWidgets/QWidget>
#include <QTreeView>
#include <QStandardItemModel>
#include <QVBoxLayout>
#include <QVTKOpenGLNativeWidget.h>
#include <QDockWidget>
#include "SARibbon.h"
#include <QListWidget>

QT_BEGIN_NAMESPACE

class Ui_modelSoftClass
{
public:
    QVTKOpenGLNativeWidget* vtkWidget;
    QAction* actionBox;
    QAction* actionCone;
    QAction* actionSphere;
    QAction* actionCylinder;
    QAction* actionTorus;
    QAction* actionFitAll;
    QAction* actionReSet;
    QAction* actionExit;
    QAction* actionCircle;
    QAction* actionBrep;
    QAction* actionStretch;
    QAction* actionRevol;
    QAction* actionTransform;
    QAction* actionCancelPick;
    QAction* actionPickPoint;
    QAction* actionPickFace;
    QAction* actionPickShape;
    QAction* actionPickLine;
    QAction* actionFillet;
    QAction* actionHollow;
    QAction* actionCurve;
    QAction* actionUndo;
    QAction* actionRedo;
    QAction* actionExpression;
    QAction* actionSave;
    QAction* actionOpen;
    QAction* actionNew;
    QAction* actionPerspective;
    QAction* actionParallel;
    QAction* actionFrontView;
    QAction* actionTopView;
    QAction* actionRightView;
    QAction* actionLeftView;
    QAction* actionBottomView;
    QAction* actionBackView;
    //QListWidget* historyListWidget;
    QDockWidget* historyListWidget;
    QWidget* dockWidgetContents;
    QTreeView* treeView;
    QStandardItemModel* model;


    void setupUi(SARibbonMainWindow* modelSoftClass)
    {
        if (modelSoftClass->objectName().isEmpty())
            modelSoftClass->setObjectName("modelSoftClass");
        modelSoftClass->resize(1600, 900);
        modelSoftClass->setWindowIcon(QIcon("./data/windowIcon.png"));

        SARibbonBar* ribbon = modelSoftClass->ribbonBar();
        ribbon->setRibbonStyle(SARibbonBar::RibbonStyleLooseThreeRow);
        //ribbon->applicationButton()->setText()
        //File
        //添加主页标签页
        SARibbonCategory* categoryFile = ribbon->addCategoryPage("文件");
        
        SARibbonPannel* pannelFile = categoryFile->addPannel("基本操作");
        actionExit = new QAction(modelSoftClass);
        actionExit->setObjectName("actionExit");
        QIcon icon24;
        icon24.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/exit.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionExit->setIcon(icon24);
        pannelFile->addLargeAction(actionExit);
        QIcon icon25;
        icon25.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/save.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionSave = new QAction(modelSoftClass);
        actionSave->setObjectName("actionSave");
        actionSave->setIcon(icon25);
        pannelFile->addLargeAction(actionSave);
        QIcon icon26;
        icon26.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/open.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionOpen = new QAction(modelSoftClass);
        actionOpen->setObjectName("actionOpen");
        actionOpen->setIcon(icon26);
        pannelFile->addLargeAction(actionOpen);
        QIcon icon27;
        icon27.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/new.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionNew = new QAction(modelSoftClass);
        actionNew->setObjectName("actionNew");
        actionNew->setIcon(icon27);
        pannelFile->addLargeAction(actionNew);
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //Primitive
        //添加建模标签页
        SARibbonCategory* categoryPrimitive = ribbon->addCategoryPage("建模");
        SARibbonPannel* pannelModel = categoryPrimitive->addPannel("基本特征建模");
        QIcon icon1;
        actionBox = new QAction(modelSoftClass);
        actionBox->setObjectName("actionBox");
        icon1.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/box.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionBox->setIcon(icon1);
        pannelModel->addSmallAction(actionBox);
        QIcon icon2;
        actionCone = new QAction(modelSoftClass);
        actionCone->setObjectName("actionCone");
        icon2.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/cone.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionCone->setIcon(icon2);
        pannelModel->addSmallAction(actionCone);
        QIcon icon3;
        actionCylinder = new QAction(modelSoftClass);
        actionCylinder->setObjectName("actionCylinder");
        icon3.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/cylinder.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionCylinder->setIcon(icon3);
        pannelModel->addSmallAction(actionCylinder);
        QIcon icon4;
        actionSphere = new QAction(modelSoftClass);
        actionSphere->setObjectName("actionSphere");
        icon4.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/sphere.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionSphere->setIcon(icon4);
        pannelModel->addSmallAction(actionSphere);
        QIcon icon5;
        actionTorus = new QAction(modelSoftClass);
        actionTorus->setObjectName("actionTorus");
        icon5.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/torus.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionTorus->setIcon(icon5);
        pannelModel->addSmallAction(actionTorus);

        SARibbonPannel* pannelCurve = categoryPrimitive->addPannel("曲线特征");
        QIcon icon8;
        actionCircle = new QAction(modelSoftClass);
        actionCircle->setObjectName("actionCircle");
        icon8.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/circle.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionCircle->setIcon(icon8);
        pannelCurve->addSmallAction(actionCircle);
        QIcon icon20;
        actionCurve = new QAction(modelSoftClass);
        actionCurve->setObjectName("actionCurve");
        icon20.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/curve.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionCurve->setIcon(icon20);
        pannelCurve->addSmallAction(actionCurve);
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


        //View
        SARibbonCategory* categoryView = ribbon->addCategoryPage("视图");
        SARibbonPannel* pannelView = categoryView->addPannel("投影");
        QIcon icon28;
        icon28.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/perspective.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionPerspective = new QAction(modelSoftClass);
        actionPerspective->setObjectName("actionPerspective");
        actionPerspective->setIcon(icon28);
        pannelView->addLargeAction(actionPerspective);
        QIcon icon29;
        icon29.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/Parallel.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionParallel = new QAction(modelSoftClass);
        actionParallel->setObjectName("actionParallel");
        actionParallel->setIcon(icon29);
        pannelView->addLargeAction(actionParallel);

        SARibbonPannel* pannelView2 = categoryView->addPannel("定向视图");
        QIcon icon30;
        icon30.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/frontView.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionFrontView = new QAction(modelSoftClass);
        actionFrontView->setObjectName("actionFrontView");
        actionFrontView->setIcon(icon30);
        pannelView2->addMediumAction(actionFrontView);
        QIcon icon35;
        icon35.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/backView.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionBackView = new QAction(modelSoftClass);
        actionBackView->setObjectName("actionBackView");
        actionBackView->setIcon(icon35);
        pannelView2->addMediumAction(actionBackView);
        QIcon icon31;
        icon31.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/topView.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionTopView = new QAction(modelSoftClass);
        actionTopView->setObjectName("actionTopView");
        actionTopView->setIcon(icon31);
        pannelView2->addMediumAction(actionTopView);
        QIcon icon34;
        icon34.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/bottomView.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionBottomView = new QAction(modelSoftClass);
        actionBottomView->setObjectName("actionBottomView");
        actionBottomView->setIcon(icon34);
        pannelView2->addMediumAction(actionBottomView);
        QIcon icon32;
        icon32.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/rightView.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionRightView = new QAction(modelSoftClass);
        actionRightView->setObjectName("actionRightView");
        actionRightView->setIcon(icon32);
        pannelView2->addMediumAction(actionRightView);
        QIcon icon33;
        icon33.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/leftView.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionLeftView = new QAction(modelSoftClass);
        actionLeftView->setObjectName("actionLeftView");
        actionLeftView->setIcon(icon33);
        pannelView2->addMediumAction(actionLeftView);
        
        

        QIcon icon6;
        actionFitAll = new QAction(modelSoftClass);
        actionFitAll->setObjectName("actionFitAll");
        icon6.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/FitAll.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionFitAll->setIcon(icon6);
        
        QIcon icon7;
        actionReSet = new QAction(modelSoftClass);
        actionReSet->setObjectName("actionReSet");
        icon7.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/Home.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionReSet->setIcon(icon7);
       
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //Pick
        QIcon icon9;
        actionCancelPick = new QAction(modelSoftClass);
        actionCancelPick->setObjectName("actionCancelPick");
        actionCancelPick->setIcon(icon9);
        QIcon icon10;
        actionPickPoint = new QAction(modelSoftClass);
        actionPickPoint->setObjectName("actionPickPoint");
        actionPickPoint->setIcon(icon10);
        QIcon icon11;
        actionPickFace = new QAction(modelSoftClass);
        actionPickFace->setObjectName("actionPickFace");
        actionPickFace->setIcon(icon11);
        QIcon icon12;
        actionPickShape = new QAction(modelSoftClass);
        actionPickShape->setObjectName("actionPickShape");
        actionPickShape->setIcon(icon12);
        QIcon icon13;
        actionPickLine = new QAction(modelSoftClass);
        actionPickLine->setObjectName("actionPickLine");
        actionPickLine->setIcon(icon13);
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //Modeling
        SARibbonPannel* pannelBrep = categoryPrimitive->addPannel("几何运算");
        QIcon icon14;
        actionBrep = new QAction(modelSoftClass);
        actionBrep->setObjectName("actionBrep");
        icon14.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/cut.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionBrep->setIcon(icon14);
        pannelBrep->addSmallAction(actionBrep);
        QIcon icon15;
        actionTransform = new QAction(modelSoftClass);
        actionTransform->setObjectName("actionTransform");
        icon15.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/rotate.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionTransform->setIcon(icon15);
        pannelBrep->addSmallAction(actionTransform);
        QIcon icon16;
        actionStretch = new QAction(modelSoftClass);
        actionStretch->setObjectName("actionStretch");
        icon16.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/stretch.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionStretch->setIcon(icon16);
        pannelBrep->addSmallAction(actionStretch);
        QIcon icon17;
        actionRevol = new QAction(modelSoftClass);
        actionRevol->setObjectName("actionRevol");
        icon17.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/revolve.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionRevol->setIcon(icon17);
        pannelBrep->addSmallAction(actionRevol);
        QIcon icon18;
        actionFillet = new QAction(modelSoftClass);
        actionFillet->setObjectName("actionFillet");
        icon18.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/fillet.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionFillet->setIcon(icon18);
        pannelBrep->addSmallAction(actionFillet);
        QIcon icon19;
        actionHollow = new QAction(modelSoftClass);
        actionHollow->setObjectName("actionHollow");
        icon19.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/hollow.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionHollow->setIcon(icon19);
        pannelBrep->addSmallAction(actionHollow);
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //history
        SARibbonPannel* pannelHistory = categoryPrimitive->addPannel("历史流");
        QIcon icon21;
        actionUndo = new QAction(modelSoftClass);
        actionUndo->setObjectName("actionUndo");
        icon21.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/undo.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionUndo->setIcon(icon21);
        pannelHistory->addLargeAction(actionUndo);
        QIcon icon22;
        actionRedo = new QAction(modelSoftClass);
        actionRedo->setObjectName("actionRedo");
        icon22.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/redo.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionRedo->setIcon(icon22);
        pannelHistory->addLargeAction(actionRedo);

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        SARibbonPannel* pannelTool = categoryPrimitive->addPannel("工具");
        QIcon icon23;
        actionExpression = new QAction(modelSoftClass);
        actionExpression->setObjectName("actionExpression");
        icon23.addFile(QString::fromUtf8("D:/Occ-CAD/modelSoft/data/expression.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off); 
        actionExpression->setIcon(icon23);
        pannelTool->addMediumAction(actionExpression);
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //草图操作
        SARibbonCategory* categorySketch = ribbon->addCategoryPage("草图");
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        vtkWidget = new QVTKOpenGLNativeWidget(modelSoftClass);
        vtkWidget->setObjectName("vtkWidget");
        /*QPalette backGroundColor;
        backGroundColor.setColor(QPalette::Background, Qt::green);
        vtkWidget->setBackgroundRole();*/
        modelSoftClass->setCentralWidget(vtkWidget);


        //History Tree
        QRect ribbonRect = ribbon->geometry();
        historyListWidget = new QDockWidget(modelSoftClass);
        historyListWidget->setObjectName("historyWidget");
        modelSoftClass->addDockWidget(Qt::LeftDockWidgetArea, historyListWidget);
        modelSoftClass->resizeDocks({ historyListWidget }, { 200 }, Qt::Horizontal);
        
        //historyListWidget->setGeometry(QRect(0, ribbonRect.height(), 240, 800));
        dockWidgetContents = new QWidget();
        dockWidgetContents->setObjectName("dockWidgetContents");
        treeView = new QTreeView(dockWidgetContents);
        treeView->setObjectName("treeView");
        treeView->setGeometry(QRect(0, 0, 240, 800));
        historyListWidget->setWidget(dockWidgetContents);
        // 创建模型
        model = new QStandardItemModel();
        model->setHorizontalHeaderLabels(QStringList() << "类型" << "可见性");
        // 填充模型数据
        treeView->setModel(model);
        treeView->setRootIsDecorated(true);
        treeView->setAlternatingRowColors(true);
        treeView->viewport()->update();

        retranslateUi(modelSoftClass);
        QMetaObject::connectSlotsByName(modelSoftClass);
    } // setupUi

    void retranslateUi(QMainWindow* modelSoftClass)
    {
        modelSoftClass->setWindowTitle(QCoreApplication::translate("modelSoftClass", "modelSoft", nullptr));
        actionExit->setText(QCoreApplication::translate("modelSoftClass", "退出", nullptr));
        actionBox->setText(QCoreApplication::translate("modelSoftClass", "立方体", nullptr));
        actionNew->setText(QCoreApplication::translate("modelSoftClass", "新建", nullptr));
        actionOpen->setText(QCoreApplication::translate("modelSoftClass", "打开", nullptr));
        actionSave->setText(QCoreApplication::translate("modelSoftClass", "保存", nullptr));
        actionCone->setText(QCoreApplication::translate("modelSoftClass", "圆锥", nullptr));
        actionSphere->setText(QCoreApplication::translate("modelSoftClass", "球体", nullptr));
        actionCylinder->setText(QCoreApplication::translate("modelSoftClass", "圆柱体", nullptr));
        actionTorus->setText(QCoreApplication::translate("modelSoftClass", "圆环", nullptr));
        actionCircle->setText(QCoreApplication::translate("modelSoftClass", "圆", nullptr));
        actionCurve->setText(QCoreApplication::translate("modelSoftClass", "曲线", nullptr));
        actionFitAll->setText(QCoreApplication::translate("modelSoftClass", "FitAll", nullptr));
        actionReSet->setText(QCoreApplication::translate("modelSoftClass", "ReSet", nullptr));
        actionCancelPick->setText(QCoreApplication::translate("modelSoftClass", "CancelPick", nullptr));
        actionPickPoint->setText(QCoreApplication::translate("modelSoftClass", "PickPoint", nullptr));
        actionPickFace->setText(QCoreApplication::translate("modelSoftClass", "PickFace", nullptr));
        actionPickShape->setText(QCoreApplication::translate("modelSoftClass", "PickShape", nullptr));
        actionPickLine->setText(QCoreApplication::translate("modelSoftClass", "PickLine", nullptr));
        actionBrep->setText(QCoreApplication::translate("modelSoftClass", "布尔运算", nullptr));
        actionTransform->setText(QCoreApplication::translate("modelSoftClass", "变换", nullptr));
        actionStretch->setText(QCoreApplication::translate("modelSoftClass", "拉伸", nullptr));
        actionRevol->setText(QCoreApplication::translate("modelSoftClass", "旋转体", nullptr));
        actionFillet->setText(QCoreApplication::translate("modelSoftClass", "倒圆角", nullptr));
        actionHollow->setText(QCoreApplication::translate("modelSoftClass", "挖空", nullptr));
        actionRedo->setText(QCoreApplication::translate("modelSoftClass", "重做", nullptr));
        actionExpression->setText(QCoreApplication::translate("modelSoftClass", "表达式", nullptr));
        actionUndo->setText(QCoreApplication::translate("modelSoftClass", "撤销", nullptr));
        actionParallel->setText(QCoreApplication::translate("modelSoftClass", "正交投影", nullptr));
        actionPerspective->setText(QCoreApplication::translate("modelSoftClass", "透视投影", nullptr));
        actionFrontView->setText(QCoreApplication::translate("modelSoftClass", "正视图", nullptr));
        actionTopView->setText(QCoreApplication::translate("modelSoftClass", "俯视图", nullptr));
        actionRightView->setText(QCoreApplication::translate("modelSoftClass", "右视图", nullptr));
        actionLeftView->setText(QCoreApplication::translate("modelSoftClass", "左视图", nullptr));
        actionBottomView->setText(QCoreApplication::translate("modelSoftClass", "仰视图", nullptr));
        actionBackView->setText(QCoreApplication::translate("modelSoftClass", "后视图", nullptr));
        historyListWidget->setWindowTitle(QCoreApplication::translate("modelSoftClass", "模型历史", nullptr));

    } // retranslateUi

};

namespace Ui {
    class modelSoftClass : public Ui_modelSoftClass {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_MODELSOFT_H
